package com.app.service.impl;

import com.app.dao.mysql.SendMessageMapper;
import com.app.domain.hsy.SendMessage;
import com.app.service.SendMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SendMessageServiceImpl implements SendMessageService {
    @Autowired
    SendMessageMapper sendMessageMapper;


    @Override
    public void insert(SendMessage sendMessage) {
        sendMessageMapper.insert(sendMessage);
    }

    @Override
    public String ConditionQuery(String id) {
        return sendMessageMapper.ConditionQuery(id);
    }

    @Override
    public SendMessage ConditionQuery2(String id) {
        return sendMessageMapper.ConditionQuery2(id);
    }
}
